package com.wanda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.dao.User_functionDAO;
import com.wanda.model.User_functionModel;
import com.wanda.service.User_functionService;

@Service
public class User_functionServiceImpl implements User_functionService {

	@Autowired
	private User_functionDAO user_functionDAO;

	public List<User_functionModel> selectByUserId(String id) {
		// TODO Auto-generated method stub
		return user_functionDAO.selectByUserId(id);
	}

	public int deleteByUserId(String id) {
		// TODO Auto-generated method stub
		return user_functionDAO.deleteByUserId(id);
	}

	public void addUser_Function(User_functionModel model) {
		// TODO Auto-generated method stub
		user_functionDAO.addUser_Function(model);
	}


	
	
	
}
